﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Reflection;

namespace ProDivingAdmin2salmon14.View
{
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();
            AssemblyInfo assemblyInfo = new AssemblyInfo(Assembly.GetEntryAssembly());
            this.labelTitleText.Text = assemblyInfo.ProductTitle;
            this.labelCompanyText.Text = assemblyInfo.Company;
            this.labelCopyrightText.Text = assemblyInfo.Copyright;
            this.labelVersionText.Text = assemblyInfo.Version;
        }

        private void buttonClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
